import http from '../../tool/http'
import api from '../../tool/api'
const state={
   dingDanData:[]
};

const actions={
    addData({commit},arr){
        console.log(arr)
        commit('add',arr)
    }
}

const mutations={
    add(state,arr1){
        state.dingDanData=arr1
    }
}

export default{
    state,actions,mutations
}